Avoid the "ForGroup" suffix, and get the keyboard group implicitly.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
return layers;
}
- _ensureKeysForGroup(group) {
+ _ensureKeys() {
+ const group = this._keyboardController.getCurrentGroup();
if (!this._groups[group])
this._groups[group] = this._createLayersForGroup(group);
}
}
_updateKeys() {
- this._ensureKeysForGroup(this._keyboardController.getCurrentGroup());
+ this._ensureKeys();
this._setActiveLayer(0);
}